package com.lianyu507.tools.youdao;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

/**
 * Created by Peter on 16/9/11.
 */

@JsonIgnoreProperties(ignoreUnknown=true)
public class Basic {
    private String phonetic = null;
    private List<String> explains = null;

    public String getPhonetic() {
        return phonetic;
    }

    public void setPhonetic(String phonetic) {
        this.phonetic = phonetic;
    }

    public List<String> getExplains() {
        return explains;
    }

    public void setExplains(List<String> explains) {
        this.explains = explains;
    }
    

	@Override
    public String toString() {
       /* ObjectMapper mapper = new ObjectMapper();
        mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);*/
      /*  try {
            //woxiugaide
            mapper.readValue(phonetic,Result.class);
        } catch (IOException e) {
            e.printStackTrace();
        }*/
        return "Basic [phonetic=" + phonetic + ", explains=" + explains + "]";
    }

}
